From: shand@ubuntu.eng.hq.xensource.com Date: Thu, 15 Sep 2005 16:15:48 +0000 (-0800) Subject: Actually update domain info when dom_get() succeeds. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16780^2~70^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e999e0f1aedf9d9ca81f01fb86c13c8dfb0e5784;p=xen.git Actually update domain info when dom_get() succeeds. Signed-off-by: Steven Hand --- diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index d611bec5a1..55bd068d17 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -358,7 +358,8 @@ class XendDomainInfo: else: di = dom_get(self.domid) if not di: - return + return + self.info = di self.memory = self.info['mem_kb'] / 1024 self.ssidref = self.info['ssidref']